﻿<!DOCTYPE html>
<html><head>
    <meta charset="utf-8" />
    <meta name="MobileOptimized" content="240" />
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <title>新闻资讯</title>
    <!-- Bootstrap -->
    <link href="/static/weixin/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/weixin/css/style.css" rel="stylesheet">

    <script src="/static/weixin/js/jquery.min.js" type="text/javascript">

    </script>
    <link rel="stylesheet" href="/static/weixin/css/sub.css" />
    <script type="text/javascript">
      $(function () {
        $('.tab ul.menu li').click(function () {
          //获得当前被点击的素索引值
          var Index = $(this).index();
          //给菜单添加选择样式
          $(this).addClass('active').siblings().removeClass('active');
          //显示对应的div
          $('.tab').children('div').eq(Index).show().siblings('div').hide();

        });
      });
    </script>
</head>
<body aria-atomic="False" style="background: #ededed;">
<section class="n-tabs">
    <h1 class="logo">
        <a href='javascript:history.go(-1)' class="back-off"><span class="glyphicon glyphicon-chevron-left"></span></a>
        <span style="font-size:1.5em">新闻资讯</span>
    </h1>
</section>
<div class="subNews">
    <div class="tab">
        <section class="n-tabs3">
            <ul class="menu">
                <li class="active">全部</li>
                <li>基层动态</li>
                <li>行业资讯</li>
            </ul>
        </section>
        <div class="con1">
            <div class="Articles">
                <dl>
                    {%model data="list1",table="document",where='{"pid":0,"status":1,"category_id":1}',order="level DESC,create_time desc",limit="9",cache="1"%}
                    {% for val in list1 %}
                    <dd><a href="/weixin/page/newsshow?id={{val.id}}">
                        <h1>{{val.title}}</h1>
                        <h3>发布时间：{{val.create_time|moment('MM-DD')}}</h3>
                    </a></dd>
                    {%endfor%}
                </dl>
            </div>
            <div class="cls"></div>
        </div>
        <div class="con2">
            <div class="Articles">
                <dl>
                    {%model data="list1",table="document",where='{"pid":0,"status":1,"category_id":1,"group_id":1}',order="level DESC,create_time desc",limit="9",cache="1"%}
                    {% for val in list1 %}
                    <dd><a href="/weixin/page/newsshow?id={{val.id}}">
                        <h1>{{val.title}}</h1>
                        <h3>发布时间：{{val.create_time|moment('MM-DD')}}</h3>
                    </a></dd>
                    {%endfor%}
                </dl>
            </div>
            <div class="cls"></div>
        </div>
        <div class="con3">
            <div class="Articles">
                <dl>
                    {%model data="list2",table="document",where='{"pid":0,"status":1,"category_id":1,"group_id":2}',order="level DESC,create_time desc",limit="9",cache="1"%}
                    {% for val in list2 %}
                    <dd><a href="/weixin/page/newsshow?id={{val.id}}">
                        <h1>{{val.title}}</h1>
                        <h3>发布时间：{{val.create_time|moment('MM-DD')}}</h3>
                    </a></dd>
                    {%endfor%}
                </dl>
            </div>
            <div class="cls"></div>
        </div>
    </div>
</div>


<div class="FootbqK"></div>
{% include "./inc_base.html" %}
</body>
</html>
